﻿using HealthcareSystem.API.Read.DTO.Equipment;
using MediatR;
using Microsoft.AspNetCore.Mvc.ApiExplorer;
using WeekExam.PassPort.ErrorCode;

namespace HealthcareSystem.API.Read.Application.Command.Equipment
{
    /// <summary>
    /// 设备请求查询命令
    /// </summary>
    public class EquipmentQueryCommand:IRequest<ApiResult<ApiPaging<List<EquipmentDTO>>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int pagindex {  get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int pagsize {  get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string? EquipmentName { get; set; }

    }
}
